package com.wodsy.phoenix.datadao.goodsc.dao.impl;


import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

import com.wodsy.phoenix.datadao.base.BaseHibernateDao;
import com.wodsy.phoenix.datadao.goodsc.dao.GoodsDao;
import com.wodsy.phoenix.dataobject.base.Pager;
import com.wodsy.phoenix.dataobject.goodsc.model.Goods;

@Repository("goodsDao")
public class GoodsDaoImpl extends BaseHibernateDao<Goods, Long> implements GoodsDao{
	
	@Override
	@Autowired
	@Qualifier(value = "goodsc")
	public void setSessionFactory(SessionFactory sessionFactory) {
		this.sessionFactory = sessionFactory;
		
	}

	@Override
	public Class<Goods> getModelClass() {
		return Goods.class;
	}
	
	@Override
	public Goods findByGoodsId(int goodsId) {
		return null;
	}

	@Override
	public Pager<Goods> findByGoodsType(String goodsType) {
		return null;
	}

	
}
